From 97f48f8e95e99e5c76ff52e2ffb97a203149dee4 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Thu, 23 Jan 2025 17:40:56 -0800 Subject: [PATCH] Add backtrace. --- .github/workflows/moon.yml | 1 + crates/remote/src/grpc_remote_client.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moon.yml b/.github/workflows/moon.yml index eead792c02..2851a81003 100644 --- a/.github/workflows/moon.yml +++ b/.github/workflows/moon.yml @@ -41,6 +41,7 @@ jobs: MOON_NODE_VERSION: ${{ matrix.node-version }} MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }} MOONBASE_ACCESS_KEY: ${{ secrets.MOONBASE_ACCESS_KEY }} + RUST_BACKTRACE: '1' - uses: moonrepo/run-report-action@v1 if: success() || failure() with: diff --git a/crates/remote/src/grpc_remote_client.rs b/crates/remote/src/grpc_remote_client.rs index 8eba208f91..f445ffeda3 100644 --- a/crates/remote/src/grpc_remote_client.rs +++ b/crates/remote/src/grpc_remote_client.rs @@ -13,7 +13,7 @@ use bazel_remote_apis::build::bazel::remote::execution::v2::{ use miette::IntoDiagnostic; use moon_common::color; use moon_config::RemoteConfig; -use std::{env, error::Error, path::Path}; +use std::{env, path::Path}; use tonic::{ metadata::{KeyAndValueRef, MetadataKey, MetadataMap, MetadataValue}, transport::{Channel, Endpoint},