File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1423,13 +1423,13 @@ function executeCodeAndCreateViz(codeToExec,
14231423 killerException = trace [ 0 ] ; // killer!
14241424 setFronendError ( [ trace [ 0 ] . exception_msg ] ) ;
14251425 }
1426- else if ( trace [ trace . length - 1 ] . exception_msg ) {
1426+ else if ( trace . length > 0 && trace [ trace . length - 1 ] . exception_msg ) {
14271427 killerException = trace [ trace . length - 1 ] ; // killer!
14281428 setFronendError ( [ trace [ trace . length - 1 ] . exception_msg ] ) ;
14291429 }
14301430 else {
1431- setFronendError ( [ "Unknown error. Reload the page and try again." ,
1432- "Report a bug to philip@pgbovine.net by clicking on the 'Generate URL '" ,
1431+ setFronendError ( [ "Unknown error. Reload the page and try again. Or report a bug to " ,
1432+ "philip@pgbovine.net by clicking on the 'Generate permanent link '" ,
14331433 "button at the bottom and including a URL in your email." ] ) ;
14341434 }
14351435 }
@@ -1556,7 +1556,7 @@ function executeCodeAndCreateViz(codeToExec,
15561556
15571557 if ( ! backendScript ) {
15581558 setFronendError ( [ "Server configuration error: No backend script" ,
1559- "Report a bug to philip@pgbovine.net by clicking on the 'Generate URL '" ,
1559+ "Report a bug to philip@pgbovine.net by clicking on the 'Generate permanent link '" ,
15601560 "button at the bottom and including a URL in your email." ] ) ;
15611561 return ;
15621562 }
You can’t perform that action at this time.
0 commit comments