From 9bdaaa64d7bc4f7d6b8eba062d3c6174bacec5d4 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 5 Jan 2026 13:44:49 -0800 Subject: [PATCH] clean up error message --- src/weather/MetNo.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/weather/MetNo.zig b/src/weather/MetNo.zig index a166ea0..f711375 100644 --- a/src/weather/MetNo.zig +++ b/src/weather/MetNo.zig @@ -72,7 +72,7 @@ pub fn init(allocator: std.mem.Allocator, identifying_email: ?[]const u8) !MetNo const email = identifying_email orelse blk: { const env_email = std.process.getEnvVarOwned(allocator, "METNO_TOS_IDENTIFYING_EMAIL") catch |err| { if (err == error.EnvironmentVariableNotFound) { - std.log.err("Met.no Terms of Service require identification. Set METNO_TOS_IDENTIFYING_EMAIL environment variable. See https://api.met.no/doc/TermsOfService", .{}); + std.log.err("Met.no Terms of Service require identification. Set METNO_TOS_IDENTIFYING_EMAIL environment variable", .{}); std.log.err("See \x1b]8;;https://api.met.no/doc/TermsOfService\x1b\\https://api.met.no/doc/TermsOfService\x1b]8;;\x1b\\ for more information", .{}); return MissingIdentificationError; }