Skip to content

Commit

Permalink
Added cause to thrown error
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Jan 31, 2022
1 parent cb519b5 commit a508220
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -152,7 +152,7 @@ public void processOnConnect(KapuaId scopeId, KapuaId deviceId) throws ProcessOn
}

} catch (Exception e) {
throw new ProcessOnConnectException(scopeId, deviceId);
throw new ProcessOnConnectException(e, scopeId, deviceId);
}
}
}

0 comments on commit a508220

Please sign in to comment.