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

當機器未註冊(找不到)時,Machine.find_by(id: serial).on_accept 不該被執行 #1

Open
lctseng opened this issue Sep 15, 2017 · 0 comments
Labels

Comments

@lctseng
Copy link
Member

lctseng commented Sep 15, 2017

::Machine.find_by(serial: id).on_accept

目前因為on_accept被執行而會噴error
是否該做一些事前檢查避免on_accept對找不到的機器呼叫?

@lctseng lctseng added the bug label Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant