Skip to content

Commit

Permalink
fir error catching
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Nov 6, 2024
1 parent b83fd7a commit 6ad1128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/helpers/npm-deps/parse_to_comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_env_variables():
decoded_str = decoded_str.replace( '%0A', '\n' )
decoded_str = decoded_str.replace( '%0D', '\r' )
# add to return object
return_env['DEP_INPUT'] = dep_in
return_env['DEP_INPUT'] = decoded_str

return return_env

Expand Down Expand Up @@ -366,6 +366,6 @@ def main():
main()
except Exception as error: # pylint: disable=broad-exception-caught
# if we hit any unexpected errors, catch them, report, and exit.
L_M = "Hit uncaught error while processing. Error message: " + error + "\nQuitting."
L_M = "Hit uncaught error while processing. Error message: " + str(error) + "\nQuitting."
log(ERROR, L_M)
exit(ERROR)

0 comments on commit 6ad1128

Please sign in to comment.