Skip to content

Commit ed15d01

Browse files
committed
labextension: Update error messages
1 parent 28fd695 commit ed15d01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,17 @@ class JupyterLabCodeFormatter
196196
void showErrorMessage(
197197
'Jupyterlab Code Formatter Version Mismatch',
198198
`Lab plugin version: ${Constants.PLUGIN_VERSION}. ` +
199-
`Server plugin version: ${serverPluginVersion}.`
199+
`Server plugin version: ${serverPluginVersion}. ` +
200+
`Please re-install the plugin with the latest instruction.`
200201
);
201202
}
202203
return versionMatches;
203204
})
204205
.catch(error => {
205206
void showErrorMessage(
206207
'Jupyterlab Code Formatter Error',
207-
'Unable to find server plugin version, consider upgrading.'
208+
'Unable to find server plugin version, this should be impossible,' +
209+
'open a GitHub issue if you cannot figure this issue out yourself.'
208210
);
209211
return false;
210212
});

0 commit comments

Comments
 (0)