Skip to content

Commit 4c5f9c8

Browse files
authored
Fix reset user settings if validation failed (#199)
1 parent 01cf41e commit 4c5f9c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupyterlab_server/settings_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def _get_user_settings(settings_dir, schema_name, schema):
100100
except ValidationError as e:
101101
warning = validation_warning % (schema_name, str(e))
102102
raw = '{}'
103+
settings = {}
103104

104105
return dict(
105106
raw=raw,

0 commit comments

Comments
 (0)