mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-15 19:29:54 +02:00
Improve NocoDB configuration handling for production deployments
Update client and server logic to gracefully handle missing NocoDB configurations, providing more informative error messages and ensuring optional NocoDB fields are handled correctly. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c52a701b-4841-4d00-b8cf-5a41c12abdf3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/c52a701b-4841-4d00-b8cf-5a41c12abdf3/3uCfEKb
This commit is contained in:
1 parent
e6b09fc9d3
commit
5a16936591
6 files changed
+219
-25
No files matched your search
@@ -259,11 +259,11 @@ export default function BLReconciliation() {
|
||||
variant: "destructive"
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
console.error('Erreur vérification:', error);
|
||||
toast({
|
||||
title: "Erreur de vérification",
|
||||
description: "Impossible de vérifier la référence",
|
||||
description: error.response?.data?.message || error.message || "Configuration NocoDB manquante ou incorrecte",
|
||||
variant: "destructive"
|
||||
});
|
||||
} finally {
|
||||
@@ -315,11 +315,11 @@ export default function BLReconciliation() {
|
||||
variant: "destructive"
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
console.error('Erreur recherche BL:', error);
|
||||
toast({
|
||||
title: "Erreur de recherche",
|
||||
description: "Impossible de rechercher par BL",
|
||||
description: error.response?.data?.message || error.message || "Configuration NocoDB manquante ou incorrecte",
|
||||
variant: "destructive"
|
||||
});
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user