Skip to content

Add code to output custom error messages on CLI from backend #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 27, 2022

Conversation

pranavj1001
Copy link
Member

No description provided.

Comment on lines 39 to 49
case 'info':
winstonlogger.info(error.message);
break;
case 'warn':
winstonlogger.warn(error.message);
break;
case 'error':
winstonlogger.error(error.message);
break;
default:
winstonlogger.warn(error.message);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove

case 'warn':
            winstonlogger.warn(error.message);
            break;

It will be taken care of in default block

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Merge master into CYP-1100-cli-changes-record-flag
@rahuln-bs rahuln-bs merged commit 5c9f475 into master Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants