Skip to content

Commit

Permalink
error message stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
c-wide committed Apr 6, 2024
1 parent 985c029 commit c3ba2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fivemanage/winston",
"description": "The official Fivemanage transport for the winston logger, for internal use only!!!",
"version": "0.2.0",
"version": "0.3.0",
"license": "GPL-3.0-or-later",
"author": "Fivemanage",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class FivemanageTransport extends Transport {
const e = await res.json();

throw new Error(
`Status code: ${res.status}; Error: ${e.message ?? "Unknown"}`,
`Status code: ${res.status}; Message: ${e.message ?? "Unknown"}`,
);
}
} catch (error) {
Expand Down

0 comments on commit c3ba2c2

Please sign in to comment.