Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
6 additions
and
2 deletions.
-
+6
−2
slick/src/main/scala/slick/basic/BasicBackend.scala
|
@@ -186,10 +186,14 @@ trait BasicBackend { self => |
|
|
} (DBIO.sameThreadExecutionContext) |
|
|
} catch { |
|
|
case NonFatal(ex) => |
|
|
throw (t1 match { |
|
|
val e = t1 match { |
|
|
case Failure(t) if keepFailure => t |
|
|
case _ => ex |
|
|
}) |
|
|
} |
|
|
|
|
|
if (!p.tryFailure(e)) { |
|
|
actionLogger.warn("Exception after promise completed", e) |
|
|
} |
|
|
} |
|
|
} (ctx.getEC(ec)) |
|
|
p.future |
|
|
You can’t perform that action at this time.
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.