summaryrefslogtreecommitdiff
path: root/crawler/sanitize.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/sanitize.go')
-rw-r--r--crawler/sanitize.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawler/sanitize.go b/crawler/sanitize.go
index 346100a..27921d5 100644
--- a/crawler/sanitize.go
+++ b/crawler/sanitize.go
@@ -242,7 +242,8 @@ func get_age_from_name(name string) int {
age, err := strconv.Atoi(age_noisy)
if err != nil {
- Fatal(err, "get_age_from_name: String to int (atoi) failed")
+ Warn(err, "get_age_from_name: String to int (atoi) failed")
+ return 0
}
return age
}