mirror of
https://github.com/valitydev/adapter-common-lib.git
synced 2024-11-06 02:05:18 +00:00
revert default logic (#78)
This commit is contained in:
parent
c5846552b0
commit
2053895fb3
2
pom.xml
2
pom.xml
@ -12,7 +12,7 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>adapter-common-lib</artifactId>
|
||||
<version>2.0.2</version>
|
||||
<version>2.0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>adapter-common-lib</name>
|
||||
|
@ -137,7 +137,7 @@ public class ErrorMapping {
|
||||
code, description, state);
|
||||
var errorDefinition = new WErrorDefinition(WErrorSource.INTERNAL);
|
||||
errorDefinition.setErrorType(WErrorType.UNEXPECTED_ERROR);
|
||||
errorDefinition.setErrorReason("Unmapped error");
|
||||
errorDefinition.setErrorReason(String.format("code = %s, description = %s", code, description));
|
||||
return new WRuntimeException(errorMessage, errorDefinition);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user