Skip to content

fix: remove console.log from VersionBadge.vue restart handler#1281

Open
thuanpham582002 wants to merge 2 commits intoWei-Shaw:mainfrom
thuanpham582002:fix/remove-console-log-version-badge
Open

fix: remove console.log from VersionBadge.vue restart handler#1281
thuanpham582002 wants to merge 2 commits intoWei-Shaw:mainfrom
thuanpham582002:fix/remove-console-log-version-badge

Conversation

@thuanpham582002
Copy link

Summary

  • Remove unnecessary console.log('Service restarting...') from the catch block in the restart handler
  • The catch block already has a descriptive comment explaining the expected behavior (connection loss during restart), making the console.log redundant
  • Also removed the unused error parameter from the catch clause

Test plan

  • Verify the restart functionality still works correctly without the console.log
  • Confirm no other console.log statements were accidentally affected

Remove unnecessary console.log('Service restarting...') from the catch
block in the restart handler. The catch block already has a comment
explaining the expected behavior, so the console.log is redundant.
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.

1 participant