From 4b248612e2cddf95c3122e011cd7d5ffaf7cda0e Mon Sep 17 00:00:00 2001 From: Amolith Date: Wed, 15 Apr 2026 16:46:02 -0600 Subject: [PATCH] SDK raises GenericError and swallows these --- lib/bandwidth_tn_options.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/bandwidth_tn_options.rb b/lib/bandwidth_tn_options.rb index 145f38cd783b023a92248c32e46b57927f4e76f1..0597c7d4580f881edc93e51d5fa4b521fe3f32a0 100644 --- a/lib/bandwidth_tn_options.rb +++ b/lib/bandwidth_tn_options.rb @@ -77,13 +77,6 @@ class BandwidthTNOptions EMPromise.resolve(nil).then do order = BandwidthIris::TnOptions.get_tn_option_order(client, order_id) - error_list = order[:error_list] - if error_list&.any? - errors = [error_list].flatten - msgs = errors.map { |e| e.to_s }.reject(&:empty?).join('; ') - raise "Dashboard tnOptions errors: #{msgs}" - end - warnings = order[:warnings] if warnings&.any? warns = [warnings].flatten