Update src/invidious.cr

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
pull/5346/head
Fijxu 2025-06-21 12:02:32 -04:00 zatwierdzone przez GitHub
rodzic 8cd9d53fb1
commit 8723fdca06
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -62,8 +62,8 @@ HMAC_KEY = CONFIG.hmac_key
PG_DB = begin
DB.open CONFIG.database_url
rescue ex
puts "Failed to connect to PostgreSQL database: #{ex.cause.try &.message}"
rescue exc
puts "Failed to connect to PostgreSQL database: #{exc.cause.try &.message}"
puts "Check your 'config.yml' database settings or PostgreSQL settings."
exit(1)
end