Skip to content

Commit d4c0547

Browse files
authored
Merge pull request #3 from lfabl/develop
Bugfix: Error code line enter problem fixed.
2 parents 7ee5095 + d2d9958 commit d4c0547

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ${_options.messageTitle}: ${message}
4848
`;
4949

5050
if (code) {
51-
errorData += `${_options.codeTitle}: ${code}`;
51+
errorData += `${_options.codeTitle}: ${code}\n`;
5252
}
5353

5454
if (_options.isWritePureDate) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "error-printer",
3-
"version": "1.0.0-pre-alpha.3",
3+
"version": "1.0.0-pre-alpha.4",
44
"description": "This project was developed for Node JS APIs need to error handling on production.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)