Skip to content

Commit

Permalink
fix(prometheus): fix error message with undefined values
Browse files Browse the repository at this point in the history
  • Loading branch information
timoa committed Apr 11, 2022
1 parent be5588e commit a13aa04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/prometheus.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function setMetrics(store, country, data) {
});
resolve();
} catch (err) {
reject(new Error(`Prometheus Client error when setting a metric for the app "${data.appId}" (${data.country}): ${err.message}`));
reject(new Error(`Prometheus Client error when setting a metric for the app "${data.appId}" (${store}/${country}): ${err.message}`));
}
});
}
Expand Down

0 comments on commit a13aa04

Please sign in to comment.