Skip to content

Commit df91ffe

Browse files
updated error message
1 parent e0a8929 commit df91ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
try{
2727
var options = JSON.parse($(this).val());
2828
}catch(error){
29-
$('<div class="visualizer-error" id="visualizer-error-manual">Error while adding manual configuration override: ' + error + '</div>').insertAfter($(this));
29+
$('<div class="visualizer-error" id="visualizer-error-manual">Invalid JSON: ' + error + '</div>').insertAfter($(this));
3030
}
3131
}
3232

0 commit comments

Comments
 (0)