Skip to content

Commit

Permalink
Merge pull request #1768 from w3f/fix-crashes
Browse files Browse the repository at this point in the history
Fix crashes on empty telemetry name
  • Loading branch information
Philipp D authored Apr 21, 2022
2 parents 3b595d1 + c9b23de commit a3fc119
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/otv-backend/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: 1K Validators Backend
name: otv-backend
version: v2.6.4
version: v2.6.5
apiVersion: v2
2 changes: 1 addition & 1 deletion charts/otv-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ resources:

image:
repo: web3f/otv-backend
tag: v2.6.4
tag: v2.6.5

certificate:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions helmfile.d/10-otv-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ releases:
namespace: kusama
{{ if eq .Environment.Name "production" }}
chart: w3f/otv-backend
version: v2.6.4
version: v2.6.5
{{ else }}
chart: ../charts/otv-backend
{{ end }}
Expand All @@ -27,7 +27,7 @@ releases:
namespace: polkadot
{{ if eq .Environment.Name "production" }}
chart: w3f/otv-backend
version: v2.6.4
version: v2.6.5
{{ else }}
chart: ../charts/otv-backend
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "1k-validators-be",
"version": "2.6.4",
"version": "2.6.5",
"description": "Services for running the Thousand Validator Program.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const startExecutionJob = async (
if (!name) {
logger.info(`did send: no entry for :${n}`);
}
if (!name.name) {
if (name && !name.name) {
logger.info(`did send: no name for :${n}`);
}
if (n && name) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { startClearAccumulatedOfflineTimeJob, startMonitorJob } from "./cron";

const isCI = process.env.CI;

const version = "v2.6.4";
const version = "v2.6.5";

const catchAndQuit = async (fn: any) => {
try {
Expand Down

0 comments on commit a3fc119

Please sign in to comment.