projects
/
facebook-errors
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c809f8
)
The log-statement for unmapped exceptions really prints the unmapped error
author
Kai Moritz
<kai@jupl.de>
Wed, 20 Nov 2019 14:23:05 +0000
(15:23 +0100)
committer
Kai Moritz
<kai@jupl.de>
Fri, 22 Nov 2019 06:39:44 +0000
(07:39 +0100)
src/main/java/de/juplo/facebook/errors/GraphApiException.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/facebook/errors/GraphApiException.java
b/src/main/java/de/juplo/facebook/errors/GraphApiException.java
index
636b3d2
..
a781c3b
100644
(file)
--- a/
src/main/java/de/juplo/facebook/errors/GraphApiException.java
+++ b/
src/main/java/de/juplo/facebook/errors/GraphApiException.java
@@
-210,8
+210,9
@@
public class GraphApiException extends RuntimeException
case 2200: return new CallbackVerificationFailedException(status, headers, error);
default:
- LOG.info("unmapped error: {}", error);
- return new UnmappedErrorException(status, headers, error);
+ GraphApiException e = new UnmappedErrorException(status, headers, error);
+ LOG.info("unmapped error: {}", e.toString());
+ return e;
}
}