Skip to content

Commit f368f1b

Browse files
committed
Include close code in cloud provider logs
1 parent ea4643a commit f368f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/cloud-provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class CloudProvider {
113113
log.info('Cloud variables are disabled for this project. Not reconnecting.');
114114
return;
115115
}
116-
log.info(`Closed connection to websocket`);
116+
log.info(`WebSocket connection closed with code ${e && e.code}`);
117117
const randomizedTimeout = this.randomizeDuration(this.exponentialTimeout());
118118
this.setTimeout(this.openConnection.bind(this), randomizedTimeout);
119119
}

0 commit comments

Comments
 (0)