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 {
62
62
// DescribeServices.
63
63
//======================================================================
64
64
65
+ print ( " Getting available services... " )
66
+
65
67
let services = await getServices ( ) . sorted { $0. name ?? " <unnamed> " < $1. name ?? " <unnamed> " }
66
68
if services. count == 0 {
67
69
print ( " No services found. Exiting. " )
@@ -307,7 +309,7 @@ class Scenario {
307
309
print ( " *** You need a subscription to use AWS Support. " )
308
310
return [ ]
309
311
} else {
310
- print ( " *** An unknown error occurred getting support information. " )
312
+ print ( " *** An unanticipated error occurred getting support information: \( error . errorCode ?? " <unknown> " ) . " )
311
313
return [ ]
312
314
}
313
315
} catch {
You can’t perform that action at this time.
0 commit comments