Skip to content

Commit 3c3f452

Browse files
committed
chore: remove unneeded try-catch
1 parent 2c09de6 commit 3c3f452

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/remote.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -792,11 +792,7 @@ export class Remote {
792792
return JSON.parse(content)
793793
})
794794
.then((parsed) => {
795-
try {
796-
updateStatus(parsed)
797-
} catch (ex) {
798-
logger.error(`Failed to update status from parsed network info`, ex)
799-
}
795+
updateStatus(parsed)
800796
})
801797
.catch((error) => {
802798
// Replace empty catch with proper error logging

0 commit comments

Comments
 (0)