File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
metacat-main/src/main/java/com/netflix/metacat/main/api Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -269,15 +269,18 @@ public <R> R processRequest(
269
269
return supplier .get ();
270
270
} catch (UnsupportedOperationException e ) {
271
271
collectRequestExceptionMetrics (tags , e .getClass ().getSimpleName ());
272
+ percentileTags .put ("request_error" , "true" );
272
273
log .error (e .getMessage (), e );
273
274
throw new MetacatNotSupportedException ("Catalog does not support the operation. " + e .getMessage ());
274
275
} catch (IllegalArgumentException e ) {
275
276
collectRequestExceptionMetrics (tags , e .getClass ().getSimpleName ());
277
+ percentileTags .put ("request_error" , "true" );
276
278
log .error (e .getMessage (), e );
277
279
throw new MetacatBadRequestException (String .format ("%s.%s" , e .getMessage (),
278
280
e .getCause () == null ? "" : e .getCause ().getMessage ()));
279
281
} catch (Exception e ) {
280
282
collectRequestExceptionMetrics (tags , e .getClass ().getSimpleName ());
283
+ percentileTags .put ("request_error" , "true" );
281
284
final String message = String
282
285
.format ("%s.%s -- %s failed." ,
283
286
e .getMessage (), e .getCause () == null ? "" : e .getCause ().getMessage (),
You can’t perform that action at this time.
0 commit comments