SDK raises GenericError and swallows these

Amolith created

Change summary

lib/bandwidth_tn_options.rb | 7 -------
1 file changed, 7 deletions(-)

Detailed changes

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