diff --git a/lib/bandwidth_tn_order.rb b/lib/bandwidth_tn_order.rb index 2acbd6117c544bbfea5dccb8ab9ec7a0ce4e4b47..ac8054fa4a839b237a1d52e637a8c7177294b585 100644 --- a/lib/bandwidth_tn_order.rb +++ b/lib/bandwidth_tn_order.rb @@ -46,7 +46,7 @@ class BandwidthTNOrder end def error_description - @order[:error_list]&.dig(:error, :description) + [@order[:error_list]].flatten.first&.dig(:error, :description) end def poll