Liam W in memoriam 1998-2020 Dec 12, 2017 #1 Affected version 2.0 When trying to build a release, an error occurred. The _build directory was not removed, perhaps it should always be removed? Liam
When trying to build a release, an error occurred. The _build directory was not removed, perhaps it should always be removed? Liam
Chris D XenForo developer Staff member Dec 12, 2017 #2 What was the error, exactly? I can only really see one obvious error that didn't clean up the directory.
What was the error, exactly? I can only really see one obvious error that didn't clean up the directory.
Liam W in memoriam 1998-2020 Dec 12, 2017 #3 Chris D said: What was the error, exactly? I can only really see one obvious error that didn't clean up the directory. Click to expand... It was a guzzle exception due to me not having an internet connection when I tried to build (I was the tube). Liam
Chris D said: What was the error, exactly? I can only really see one obvious error that didn't clean up the directory. Click to expand... It was a guzzle exception due to me not having an internet connection when I tried to build (I was the tube). Liam
Chris D XenForo developer Staff member Dec 12, 2017 #4 Arguably, part of the actual bug is that we don't catch that exception and return a more reasonable error message.
Arguably, part of the actual bug is that we don't catch that exception and return a more reasonable error message.
Liam W in memoriam 1998-2020 Dec 12, 2017 #5 Chris D said: Arguably, part of the actual bug is that we don't catch that exception and return a more reasonable error message. Click to expand... I was about to say that. Might be worth printing a warning saying that minification won’t happen without an internet connection. Liam
Chris D said: Arguably, part of the actual bug is that we don't catch that exception and return a more reasonable error message. Click to expand... I was about to say that. Might be worth printing a warning saying that minification won’t happen without an internet connection. Liam
Chris D XenForo developer Staff member Dec 12, 2017 #6 We're just handling that exception a little differently now, and returning a more friendly error, and at the same time deleting the build directory in that case.
We're just handling that exception a little differently now, and returning a more friendly error, and at the same time deleting the build directory in that case.