mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
👽 Updating code due to external API changes.
➕ Adding a dependency. websocket
This commit is contained in:
1 parent
2b2507a068
commit
ee0aa4782b
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ public class PigxFeginErrorDecoder extends ErrorDecoder.Default {
|
||||
public Exception decode(String methodKey, Response response) {
|
||||
PigxFeginException exception = errorStatus(methodKey, response);
|
||||
Date retryAfter = retryAfterDecoder.apply(firstOrNull(response.headers()));
|
||||
return new RetryableException(exception.getMessage(), exception, retryAfter);
|
||||
return new RetryableException(exception.getMessage(), response.request().httpMethod(), exception, retryAfter);
|
||||
}
|
||||
|
||||
private static PigxFeginException errorStatus(String methodKey, Response response) {
|
||||
|
||||
@@ -65,6 +65,11 @@
|
||||
<artifactId>pigx-common-swagger</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</dependency>
|
||||
<!--websocket-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-websocket</artifactId>
|
||||
</dependency>
|
||||
<!-- activiti -->
|
||||
<dependency>
|
||||
<groupId>org.activiti</groupId>
|
||||
|
||||
Reference in new issue
Block a user