Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
TBonnin committed Jan 14, 2025
1 parent 36ba871 commit f0cd79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fleet/lib/supervisor/supervisor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { logger } from '../utils/logger.js';
import * as nodes from '../models/nodes.js';
import * as deployments from '../models/deployments.js';
import * as nodeConfigOverrides from '../models/node_config_overrides.js';
import { Err, Ok, retryWithBackoff } from '@nangohq/utils';
import { Err, Ok, retryWithBackoff, stringifyError } from '@nangohq/utils';
import type { Result } from '@nangohq/utils';
import { FleetError } from '../utils/errors.js';
import type { Node, NodeConfigOverride } from '../types.js';
Expand Down Expand Up @@ -290,7 +290,7 @@ export class Supervisor {
const result = await this.execute(operation);
if (result.isErr()) {
operationSpan?.setTag('error', result.error);
logger.error('Failed to execute operation:', result.error, result.error.cause);
logger.error('Failed to execute operation:', result.error, stringifyError(result.error.cause));
}
}
);
Expand Down

0 comments on commit f0cd79c

Please sign in to comment.