mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:23:32 -05:00
Merge pull request #14898 from overleaf/tm-remove-debug-logs-pdf-detach-error
Remove debug statements that call potentially undefined logger GitOrigin-RevId: b317a023057d271611cafbf65bbc192a4b82bfdd
This commit is contained in:
parent
b39effbb4b
commit
c8c2f661b3
2 changed files with 0 additions and 10 deletions
|
@ -26,11 +26,6 @@ function CompileTimeWarning() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (deliveryLatencies && deliveryLatencies.compileTimeServerE2E) {
|
if (deliveryLatencies && deliveryLatencies.compileTimeServerE2E) {
|
||||||
window.sl_console.log(
|
|
||||||
`[compileTimeout] compiledTimeServerE2E ${
|
|
||||||
deliveryLatencies.compileTimeServerE2E / 1000
|
|
||||||
}s`
|
|
||||||
)
|
|
||||||
// compile-timeout-20s test
|
// compile-timeout-20s test
|
||||||
if (deliveryLatencies.compileTimeServerE2E > 10000) {
|
if (deliveryLatencies.compileTimeServerE2E > 10000) {
|
||||||
eventTracking.sendMB('compile-time-warning-would-display', {
|
eventTracking.sendMB('compile-time-warning-would-display', {
|
||||||
|
|
|
@ -90,11 +90,6 @@ function CompileTimeoutMessages() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (compiling || error || showLogs) return
|
if (compiling || error || showLogs) return
|
||||||
window.sl_console.log(
|
|
||||||
`[compileTimeout] compiledTimeServerE2E ${
|
|
||||||
deliveryLatencies.compileTimeServerE2E / 1000
|
|
||||||
}s`
|
|
||||||
)
|
|
||||||
handleNewCompile(deliveryLatencies.compileTimeServerE2E)
|
handleNewCompile(deliveryLatencies.compileTimeServerE2E)
|
||||||
}, [compiling, error, showLogs, deliveryLatencies, handleNewCompile])
|
}, [compiling, error, showLogs, deliveryLatencies, handleNewCompile])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue