You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s"Activation ${act.activationId} was unsuccessful at container ${stateData.getContainer} (with ${activeCount} still active) due to ${truncatedResult}")
943
-
Future.failed(ActivationUnsuccessfulError(act))
944
-
caseLeft(error) =>Future.failed(error)
945
-
caseRight(act) =>
946
-
if (act.response.isApplicationError) {
947
-
valtruncatedResult= truncatedError(act)
948
-
logging.error(
949
-
this,
950
-
s"Activation ${act.activationId} at container ${stateData.getContainer} (with ${activeCount} still active) returned an error ${truncatedResult}")
939
+
caseRight(act) if act.response.isSuccess || act.response.isApplicationError =>
940
+
if (act.response.isApplicationError && activationErrorLoggingConfig.applicationErrors) {
941
+
logTruncatedError(act)
951
942
}
952
943
Future.successful(act)
944
+
caseRight(act) =>
945
+
if ((act.response.isContainerError && activationErrorLoggingConfig.developerErrors) ||
s"Activation ${act.activationId} at container ${stateData.getContainer} (with $activeCount still active) returned a $errorTypeMessage: $truncatedResult")
0 commit comments