@ -111,11 +111,12 @@ class CompileTab extends ApiFactory {
if ( data [ 'error' ] ) {
this . renderer . error ( data [ 'error' ] . formattedMessage , this . _view . errorContainer , { type : data [ 'error' ] . severity || 'error' } )
if ( data [ 'error' ] . mode === 'panic' ) {
return modalDialogCustom . alert ( yo ` <div><i class="fa fa-exclamation-circle ${ css . panicError } " aria-hidden="true"></i>
The compiler returned with the following internal error : < br > < b > $ { data [ 'error' ] . formattedMessage } . < br >
The compiler might be in a non - sane state , please be careful and do not use further compilation data to deploy to mainnet .
It is heavily recommended to use another browser not affected by this issue ( Firefox is known to not be affected ) . < / b > < b r >
Please join < a href = "https://gitter.im/ethereum/remix" target = "blank" > remix gitter channel < / a > f o r m o r e i n f o r m a t i o n . < / d i v > ` )
return modalDialogCustom . alert ( yo `
< div > < i class = "fa fa-exclamation-circle ${css.panicError}" aria - hidden = "true" > < / i >
The compiler returned with the following internal error : < br > < b > $ { data [ 'error' ] . formattedMessage } . < br >
The compiler might be in a non - sane state , please be careful and do not use further compilation data to deploy to mainnet .
It is heavily recommended to use another browser not affected by this issue ( Firefox is known to not be affected ) . < / b > < b r >
Please join < a href = "https://gitter.im/ethereum/remix" target = "blank" > remix gitter channel < / a > f o r m o r e i n f o r m a t i o n . < / d i v > ` )
}
}
if ( data . errors && data . errors . length ) {
@ -289,7 +290,10 @@ class CompileTab extends ApiFactory {
} )
if ( details [ propertyName ] !== '' ) {
try {
node = yo ` <div> ${ treeView . render ( typeof details [ propertyName ] === 'object' ? details [ propertyName ] : JSON . parse ( details [ propertyName ] ) ) } </div> ` // catch in case the parsing fails.
node = yo `
< div >
$ { treeView . render ( typeof details [ propertyName ] === 'object' ? details [ propertyName ] : JSON . parse ( details [ propertyName ] ) ) }
< /div>` / / catch in case the parsing fails .
} catch ( e ) {
node = yo ` <div>Unable to display " ${ propertyName } ": ${ e . message } </div> `
}