add error message for authenticator not found
This commit is contained in:
@@ -23,6 +23,9 @@ pub fn main() !void {
|
|||||||
// do nothing, error message is already written (because the message contains the name of the unknown parameter)
|
// do nothing, error message is already written (because the message contains the name of the unknown parameter)
|
||||||
},
|
},
|
||||||
ArgumentError.InvalidOtpAuthUrl => {},
|
ArgumentError.InvalidOtpAuthUrl => {},
|
||||||
|
ArgumentError.AuthenticatorNotFound => {
|
||||||
|
try std.io.getStdErr().writer().print("authenticator not found\n", .{});
|
||||||
|
},
|
||||||
else => |leftover_err| {
|
else => |leftover_err| {
|
||||||
try std.io.getStdErr().writer().print("{?}\n", .{leftover_err});
|
try std.io.getStdErr().writer().print("{?}\n", .{leftover_err});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user