mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 10:26:03 +08:00
No "exit" (qFatal) for unknown VATLIB error, just error
Rational: Why shutdown the client in that very case, terminate connection is enough
This commit is contained in:
@@ -1494,7 +1494,9 @@ namespace BlackCore
|
|||||||
case vatServerErrorRegistered:
|
case vatServerErrorRegistered:
|
||||||
case vatServerErrorInvalidCtrl: CLogMessage(self).info("Server: ") << self->fromFSD(msg); break;
|
case vatServerErrorInvalidCtrl: CLogMessage(self).info("Server: ") << self->fromFSD(msg); break;
|
||||||
|
|
||||||
default: qFatal("vatlib: %s (error %d)", msg, error); emit self->terminate();
|
// default: qFatal("vatlib: %s (error %d)", msg, error); emit self->terminate();
|
||||||
|
// KB: Why the hard termination?
|
||||||
|
default: CLogMessage(self).error("vatlib: %1 (error %2)") << msg << error; emit self->terminate(); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user