-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
CouchException.toString prints
CouchException: (MyFile.scala:45)
But if I catch it and wrap it like
case couchException: CouchException[_] =>
new RuntimeException(s"CouchException with message:\n${couchException.content}", couchException)
The result will be:
RuntimeException: : CouchException with message:
Error(not_found,missing_named_view,404 ,Request(GET,http://localhost:5984/...),...)
The expected behaviour is to print the content of the CouchException.
By the way: the name CouchException
is little bit deceptive because it's not an Exception
, it's a Throwable
.
Metadata
Metadata
Assignees
Labels
No labels