@Override
public void onError(TaskHandle taskHandle, TaskHandle convertedTaskHandle, Throwable throwable) {
queueingStrategy.onBeforeRemove();
QSTaskModel task = taskHandle.task;
ImmutableMap<String, ImmutableMap<String, String>> exceptionDetails = ImmutableMap.of("exception", ImmutableMap.of(
"class", throwable.getClass().getName(),
"message", throwable.getMessage(),
"stackTrace", ExceptionUtils.getStackTrace(throwable)