@@ -300,7 +300,7 @@ public static List<Satellite> loadFromClasspathConfig(String metaLocation, Satel
300
300
try (BufferedReader r = new BufferedReader (new InputStreamReader (is , StandardCharsets .UTF_8 ))) {
301
301
rawSatellites = Json .parse (r ).asArray ();
302
302
} catch (Exception e ) {
303
- LOG .error ("unable to parse satellites" , e );
303
+ LOG .error ("unable to parse satellites: {}" , metaLocation , e );
304
304
return result ;
305
305
}
306
306
for (int i = 0 ; i < rawSatellites .size (); i ++) {
@@ -322,7 +322,7 @@ private void loadInstruments(Path location) {
322
322
try (BufferedReader r = Files .newBufferedReader (location )) {
323
323
raw = Json .parse (r ).asArray ();
324
324
} catch (Exception e ) {
325
- LOG .error ("unable to load instruments" , e );
325
+ LOG .error ("unable to load instruments: {}" , location , e );
326
326
return ;
327
327
}
328
328
for (int i = 0 ; i < raw .size (); i ++) {
@@ -343,7 +343,7 @@ private static List<Satellite> loadFromConfig(Path metaLocation, SatelliteSource
343
343
try (BufferedReader r = Files .newBufferedReader (metaLocation )) {
344
344
rawSatellites = Json .parse (r ).asArray ();
345
345
} catch (Exception e ) {
346
- LOG .error ("unable to parse satellites" , e );
346
+ LOG .error ("unable to parse satellites: {}" , metaLocation , e );
347
347
return result ;
348
348
}
349
349
for (int i = 0 ; i < rawSatellites .size (); i ++) {
0 commit comments