MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / applyDockerEnvSettingIfNeeded

Function applyDockerEnvSettingIfNeeded

main.js:6763–6781  ·  view source on GitHub ↗

* Apply Docker/env defaults without clobbering user-saved settings on every restart. * Set PRINTVENTORY_ENV_OVERRIDES_SETTINGS=1 to always apply env (old behavior).

(key, envValue)

Source from the content-addressed store, hash-verified

6761 : 'API rate limit has been exceeded. Please try again later.';
6762 errorDetail = detailedMessage;
6763 } else if (error.message && error.message.includes('Invalid request')) {
6764 errorMessage = 'Invalid Request';
6765 errorDetail = error.message;
6766 }
6767
6768 dialog.showMessageBox({
6769 type: 'error',
6770 title: errorMessage,
6771 message: errorDetail,
6772 detail: error.stack ? `Technical details: ${error.stack.substring(0, 200)}...` : ''
6773 });
6774 }
6775 }
6776 });
6777 }
6778
6779 // Check if any selected files are 3MF files
6780 const has3MFFiles = filePaths.some(fp => {
6781 const ext = path.extname(fp).toLowerCase();
6782 // Handle zip entries - check the entry path extension
6783 if (fp.includes('::')) {
6784 const entryPath = fp.split('::')[1];

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected