Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links in HTML files causes panic #28

Open
renandincer opened this issue Jul 15, 2016 · 1 comment
Open

Broken links in HTML files causes panic #28

renandincer opened this issue Jul 15, 2016 · 1 comment

Comments

@renandincer
Copy link
Member

It would be better if it exited cleanly, notifying the user of the situation.

panic: open /Users/renandincer/eager/sampleweb4/page/mystyle.css: no such file or directory

goroutine 1 [running]:
panic(0x452bc0, 0xc820019ef0)
    /usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
main.must(0x4e6000, 0x0, 0x8a47e8, 0xc820019ef0, 0x0, 0x0)
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/utils.go:86 +0x57
main.hashFile(0xc820010e80, 0x34, 0x0, 0x0, 0x0)
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:49 +0x1d4
main.hashFiles(0xc820010ec0, 0x4, 0x4, 0x0, 0x0)
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:67 +0x11a
main.Deploy(0x4f95b0, 0x1, 0x7fff5fbff9ac, 0x23, 0x4f9778, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:582 +0x15f7
main.deployCmd()
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:636 +0x137
main.main()
    /private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/cli.go:39 +0x3e3
@zackbloom
Copy link
Contributor

👍

On Fri, Jul 15, 2016 at 2:46 PM, Renan Dincer [email protected]
wrote:

It would be better if it exited cleanly, notifying the user of the
situation.

panic: open /Users/renandincer/eager/sampleweb4/page/mystyle.css: no such file or directory

goroutine 1 [running]:
panic(0x452bc0, 0xc820019ef0)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
main.must(0x4e6000, 0x0, 0x8a47e8, 0xc820019ef0, 0x0, 0x0)
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/utils.go:86 +0x57
main.hashFile(0xc820010e80, 0x34, 0x0, 0x0, 0x0)
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:49 +0x1d4
main.hashFiles(0xc820010ec0, 0x4, 0x4, 0x0, 0x0)
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:67 +0x11a
main.Deploy(0x4f95b0, 0x1, 0x7fff5fbff9ac, 0x23, 0x4f9778, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:582 +0x15f7
main.deployCmd()
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/deploy.go:636 +0x137
main.main()
/private/tmp/stout-20160708-61273-tzo1mk/Stout-1.2.2/src/github.com/eagerio/stout/src/cli.go:39 +0x3e3


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#28, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADYMzVyddl7sR_wB1sY3HlHS4gHoQq8ks5qV9WagaJpZM4JNriD
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants