Skip to content

Commit

Permalink
Added log to create project
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirchan committed Mar 27, 2024
1 parent 55fa4e9 commit aa0312c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,13 @@ async function createSecurityProject(
};
} catch (error) {
if (error instanceof AxiosError) {
<<<<<<< Updated upstream
log.error(
`${error.response?.status}:${Object.values(error.response?.data.errors).flat().join()}`
);
=======
console.log(`${error.response?.status}:${JSON.stringify(error.response?.data)}`);
>>>>>>> Stashed changes
} else {
log.error(`${error.message}`);
}
Expand Down

0 comments on commit aa0312c

Please sign in to comment.