Skip to content

Commit 3f89aa2

Browse files
committed
Add exception logging to AbstractRemoteChannel
1 parent 2434cf8 commit 3f89aa2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bedrock-runtime/src/main/java/com/oracle/bedrock/runtime/concurrent/AbstractRemoteChannel.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,8 @@ public Executor(long sequence,
11301130
@Override
11311131
public void run()
11321132
{
1133+
try
1134+
{
11331135
// execute the operation
11341136
Operation resultingOperation = operation.execute(sequence);
11351137

@@ -1138,6 +1140,12 @@ public void run()
11381140
{
11391141
sequentialExecutionService.submit(new Sender(sequence, resultingOperation));
11401142
}
1143+
}
1144+
catch (Exception e)
1145+
{
1146+
LOGGER.log(Level.SEVERE, "Exception while executing remote operation", e);
1147+
throw new RuntimeException("Bedrock failed to execute remote operation", e);
1148+
}
11411149
}
11421150
}
11431151

0 commit comments

Comments
 (0)