[bugfix] Add try-exception