diff --git a/src/main.ts b/src/main.ts index e2d7d247..260d7f34 100644 --- a/src/main.ts +++ b/src/main.ts @@ -121,6 +121,7 @@ export async function main(args: string[]): Promise { } } catch (e) { // push error message to the logger + core.error(e as string | Error) errorMessages.push(`${tool} failed to install`) } } @@ -174,6 +175,7 @@ export async function main(args: string[]): Promise { } } } catch (e) { + core.error(e as string | Error) errorMessages.push(`Failed to install the ${maybeCompiler}`) }