mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Operation completion message after synchronization running over checklist was shown as an error
Because ESshTerminate was rethrown as EFatal.
Caused by 0de5a4124
Source commit: 3ea09e85fa0d32acdcc3b677d9158193af93a65c
This commit is contained in:
@@ -496,9 +496,9 @@ Exception * __fastcall CloneException(Exception * E)
|
||||
void __fastcall RethrowException(Exception * E)
|
||||
{
|
||||
// this list has to be in sync with ExceptionMessage
|
||||
if (dynamic_cast<EFatal *>(E) != NULL)
|
||||
if (dynamic_cast<ExtException *>(E) != NULL)
|
||||
{
|
||||
throw EFatal(E, L"");
|
||||
dynamic_cast<ExtException *>(E)->Rethrow();
|
||||
}
|
||||
else if (dynamic_cast<ECallbackGuardAbort *>(E) != NULL)
|
||||
{
|
||||
@@ -512,10 +512,6 @@ void __fastcall RethrowException(Exception * E)
|
||||
{
|
||||
// noop, should never get here
|
||||
}
|
||||
else if (dynamic_cast<ExtException *>(E) != NULL)
|
||||
{
|
||||
dynamic_cast<ExtException *>(E)->Rethrow();
|
||||
}
|
||||
else
|
||||
{
|
||||
throw ExtException(E, L"");
|
||||
|
||||
Reference in New Issue
Block a user