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