Don't block on warnings during ligo export

This commit is contained in:
kaetemi 2019-05-13 11:12:45 +08:00
parent 76d88f546a
commit f3c45d7e82

View file

@ -84,7 +84,7 @@ fn lowercase instring =
) )
-- Allocate 20 Me for the script -- Allocate 20 Me for the script
heapSize += 15000000 heapSize += 30000000
-- In case of error just abort the app and don't show nel report window -- In case of error just abort the app and don't show nel report window
NelForceQuitOnMsgDisplayer() NelForceQuitOnMsgDisplayer()
@ -526,8 +526,17 @@ try
resetMAXFile #noprompt resetMAXFile #noprompt
nlerror ("Scanning file "+curFileName+" ...") nlerror ("Scanning file "+curFileName+" ...")
mergeMaxFile curFileName quiet:true loadMaxFile curFileName quiet:true
objXRefMgr.UpdateAllRecords() try
(
nlerror("Update XRef records...")
objXRefMgr.UpdateAllRecords()
)
catch
(
nlerror("ERROR Failed to update XRef! (DON'T TAG)...")
tagThisFile = false
)
-- Unhide category -- Unhide category
unhidelayers() unhidelayers()
@ -686,8 +695,17 @@ try
resetMAXFile #noprompt resetMAXFile #noprompt
nlerror ("Scanning file "+curFileName+" ...") nlerror ("Scanning file "+curFileName+" ...")
mergeMaxFile curFileName quiet:true loadMaxFile curFileName quiet:true
objXRefMgr.UpdateAllRecords() try
(
nlerror("Update XRef records...")
objXRefMgr.UpdateAllRecords()
)
catch
(
nlerror("ERROR Failed to update XRef! (DON'T TAG)...")
tagThisFile = false
)
-- Unhide category -- Unhide category
unhidelayers() unhidelayers()
@ -915,8 +933,17 @@ try
resetMAXFile #noprompt resetMAXFile #noprompt
nlerror ("Scanning file "+curFileName+" ...") nlerror ("Scanning file "+curFileName+" ...")
mergeMaxFile curFileName quiet:true loadMaxFile curFileName quiet:true
objXRefMgr.UpdateAllRecords() try
(
nlerror("Update XRef records...")
objXRefMgr.UpdateAllRecords()
)
catch
(
nlerror("ERROR Failed to update XRef! (DON'T TAG)...")
tagThisFile = false
)
-- Unhide category -- Unhide category
unhidelayers() unhidelayers()