Assign error message to string
This commit is contained in:
@@ -34,7 +34,7 @@ const loadSecretsAction = async () => {
|
||||
if (error instanceof Error) {
|
||||
message = error.message;
|
||||
} else {
|
||||
String(error);
|
||||
message = String(error);
|
||||
}
|
||||
core.setFailed(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user