diff --git a/src/main/java/com/conveyal/analysis/results/MultiOriginAssembler.java b/src/main/java/com/conveyal/analysis/results/MultiOriginAssembler.java index 6922558c6..dc2b0b150 100644 --- a/src/main/java/com/conveyal/analysis/results/MultiOriginAssembler.java +++ b/src/main/java/com/conveyal/analysis/results/MultiOriginAssembler.java @@ -160,8 +160,11 @@ public MultiOriginAssembler (RegionalAnalysis regionalAnalysis, Job job, FileSto regionalAnalysis.resultStorage.put(csvWriter.resultType(), csvWriter.fileName); } } + } catch (AnalysisServerException e) { + throw e; } catch (Exception e) { - throw new RuntimeException("Exception while creating multi-origin assembler: " + ExceptionUtils.stackTraceString(e)); + // Handle any obscure problems we don't want end users to see without context of MultiOriginAssembler. + throw new RuntimeException("Exception while creating multi-origin assembler: " + e.toString(), e); } }