Bug Fix: Cuando se procesan múltiples archivos, a veces los errores no se muestran
This commit is contained in:
@@ -2989,7 +2989,7 @@ DEFINE CLASS c_foxbin2prg AS Session
|
||||
CASE lnCodError = 1799 && Conversion Cancelled
|
||||
MESSAGEBOX( loLang.C_CONVERSION_CANCELLED_BY_USER_LOC + '!', 0+64+4096, 'FoxBin2Prg ' + THIS.c_FB2PRG_EXE_Version, 60000 )
|
||||
|
||||
CASE THIS.l_Error
|
||||
CASE THIS.l_Errors
|
||||
IF ADIR(laDirInfo, THIS.c_ErrorLogFile) > 0 THEN
|
||||
MESSAGEBOX( loLang.C_END_OF_PROCESS_LOC + '! (' + loLang.C_WITH_ERRORS_LOC + ')', 0+48+4096, 'FoxBin2Prg ' + THIS.c_FB2PRG_EXE_Version, 60000 )
|
||||
loWSH.Run( THIS.c_ErrorLogFile, 3 )
|
||||
@@ -3004,14 +3004,10 @@ DEFINE CLASS c_foxbin2prg AS Session
|
||||
|
||||
ENDCASE
|
||||
|
||||
IF EMPTY(lnCodError) AND THIS.l_Error
|
||||
IF EMPTY(lnCodError) AND THIS.l_Errors
|
||||
lnCodError = 1098
|
||||
ENDIF
|
||||
|
||||
IF lnCodError > 0 THEN
|
||||
THIS.l_Errors = .T.
|
||||
ENDIF
|
||||
|
||||
SET NOTIFY &lc_OldSetNotify.
|
||||
STORE NULL TO loFSO, loWSH
|
||||
RELEASE tc_InputFile, tcType, tcTextName, tlGenText, tcDontShowErrors, tcDebug, tcDontShowProgress ;
|
||||
@@ -4116,6 +4112,7 @@ DEFINE CLASS c_foxbin2prg AS Session
|
||||
|
||||
.errOut(tcText)
|
||||
.l_Error = .T.
|
||||
.l_Errors = .T.
|
||||
ENDWITH
|
||||
CATCH
|
||||
ENDTRY
|
||||
|
||||
Reference in New Issue
Block a user