Fix #350: Do not print stacktrace during offline builds

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>