Added todo
This commit is contained in:
parent
48dfb61997
commit
60b5d07d00
|
@ -896,6 +896,7 @@ func PathSafeTitle(title string) string {
|
||||||
return title
|
return title
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(asaf): Find a nicer solution that doesn't require adding a defer to every construction function while also not printing errors in tests.
|
||||||
func CatchPanic() {
|
func CatchPanic() {
|
||||||
if !isTest {
|
if !isTest {
|
||||||
if recovered := recover(); recovered != nil {
|
if recovered := recover(); recovered != nil {
|
||||||
|
|
Loading…
Reference in New Issue