File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
swift/example_code/support/scenario/Sources Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ class Scenario {
6262 // DescribeServices.
6363 //======================================================================
6464
65+ print ( " Getting available services... " )
66+
6567 let services = await getServices ( ) . sorted { $0. name ?? " <unnamed> " < $1. name ?? " <unnamed> " }
6668 if services. count == 0 {
6769 print ( " No services found. Exiting. " )
@@ -307,7 +309,7 @@ class Scenario {
307309 print ( " *** You need a subscription to use AWS Support. " )
308310 return [ ]
309311 } else {
310- print ( " *** An unknown error occurred getting support information. " )
312+ print ( " *** An unanticipated error occurred getting support information: \( error . errorCode ?? " <unknown> " ) . " )
311313 return [ ]
312314 }
313315 } catch {
You can’t perform that action at this time.
0 commit comments