File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/apollo-tooling/src/main/kotlin/com/apollographql/apollo/tooling Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ object SchemaDownloader {
69
69
introspectionSchema = try {
70
70
introspectionDataJson.toIntrospectionSchema()
71
71
} catch (e: Exception ) {
72
- throw Exception (" Introspection response from $endpoint can not be parsed" , e)
72
+ throw Exception (" Introspection response from $endpoint can not be parsed (see `cause` for more details) " , e)
73
73
}
74
74
} catch (e: Exception ) {
75
75
// 2-step introspection didn't work: fallback to no pre-introspection query and minimal introspection query
@@ -82,7 +82,7 @@ object SchemaDownloader {
82
82
introspectionSchema = try {
83
83
introspectionDataJson.toIntrospectionSchema()
84
84
} catch (e: Exception ) {
85
- throw Exception (" Introspection response from $endpoint can not be parsed" , e)
85
+ throw Exception (" Introspection response from $endpoint can not be parsed (see `cause` for more details) " , e)
86
86
}
87
87
}
88
88
}
You can’t perform that action at this time.
0 commit comments