Skip to content

Commit

Permalink
fix: remove catch call dcc exception type (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng authored Dec 10, 2024
1 parent 5f52ed8 commit 9a9affe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public virtual Dictionary<string, string> GetValues()
DEFAULT_CONFIG_NAME).ConfigureAwait(false).GetAwaiter().GetResult();
return remoteConfigs;
}
catch (ArgumentException)
catch
{
return new(ConfigMap);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override Dictionary<string, string> GetValues()
DEFAULT_CONFIG_NAME).ConfigureAwait(false).GetAwaiter().GetResult();
return remoteConfigs;
}
catch (ArgumentException)
catch
{
return new(ConfigMap);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ await configurationApiManage.UpdateAsync(
configs);
}
}
catch (ArgumentException)
catch
{
// remoteConfigs is null
await configurationApiManage.AddAsync(
Expand Down

0 comments on commit 9a9affe

Please sign in to comment.