if (err) {
audiogram.status("error");
- audiogram.set("error", err);
+ audiogram.set("error", err.toString());
throw err;
}