mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
apprt/gtk: log configuration errors
This commit is contained in:
@ -63,6 +63,13 @@ pub const App = struct {
|
|||||||
var config = try Config.load(core_app.alloc);
|
var config = try Config.load(core_app.alloc);
|
||||||
errdefer config.deinit();
|
errdefer config.deinit();
|
||||||
|
|
||||||
|
// If we had configuration errors, then log them.
|
||||||
|
if (!config._errors.empty()) {
|
||||||
|
for (config._errors.list.items) |err| {
|
||||||
|
log.warn("configuration error: {s}", .{err.message});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Our uniqueness ID is based on whether we're in a debug mode or not.
|
// Our uniqueness ID is based on whether we're in a debug mode or not.
|
||||||
// In debug mode we want to be separate so we can develop Ghostty in
|
// In debug mode we want to be separate so we can develop Ghostty in
|
||||||
// Ghostty.
|
// Ghostty.
|
||||||
|
Reference in New Issue
Block a user