mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 08:36:45 +00:00
Fix error handling for invalid pods (#16)
* update readme and fix error handling for bad pods * update limitations
This commit is contained in:
@@ -43,7 +43,7 @@ async function run(): Promise<void> {
|
||||
throw new Error(`Command not recognized: ${command}`)
|
||||
}
|
||||
} catch (error) {
|
||||
core.error(JSON.stringify(error))
|
||||
core.error(error as Error)
|
||||
exitCode = 1
|
||||
}
|
||||
process.exitCode = exitCode
|
||||
|
||||
Reference in New Issue
Block a user