File tree 1 file changed +2
-6
lines changed
src/main/java/org/tango/web/server/proxy
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,13 @@ public static Optional<TangoCommandProxy> optionalTangoCommandProxy(String comma
122
122
name ));
123
123
else
124
124
return Optional .empty ();
125
- } catch (DevFailed | TangoProxyException devFailed ) {
125
+ } catch (TangoProxyException devFailed ) {
126
126
return Optional .empty ();
127
127
}
128
128
}
129
129
130
130
public static Optional <TangoCommandProxy > optionalTangoCommandProxy (TangoDeviceProxy device , String name ) {
131
- try {
132
- return Optional .of (newTangoCommandProxy (device , name ));
133
- } catch (DevFailed devFailed ) {
134
- return Optional .empty ();
135
- }
131
+ return Optional .of (newTangoCommandProxy (device , name ));
136
132
}
137
133
138
134
public static Optional <TangoPipeProxy > optionalTangoPipeProxy (String host , String deviceName , String name ) {
You can’t perform that action at this time.
0 commit comments