Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Error with follow logs

Andras Bacsaibc723b3f1509
diff --git a/src/routes/applications/[id]/logs/build/_BuildLog.svelte b/src/routes/applications/[id]/logs/build/_BuildLog.svelte
index 839621f28c..349d60eea2 100644
--- a/src/routes/applications/[id]/logs/build/_BuildLog.svelte
+++ b/src/routes/applications/[id]/logs/build/_BuildLog.svelte
@@ -57,15 +57,12 @@
logs = logs.concat(data.logs.map((log) => ({ ...log, line: cleanAnsiCodes(log.line) })));
dispatch('updateBuildStatus', { status });
- if (followingBuild) {
- const logEl = document.getElementById('logs');
- logEl.scrollTop = logEl.scrollHeight;
- }
} catch ({ error }) {
return errorNotification(error);
}
}, 1000);
} catch ({ error }) {
+ console.log(error);
return errorNotification(error);
}
}