diff --git a/bin/domain/imag-timetrack/src/day.rs b/bin/domain/imag-timetrack/src/day.rs index bd76867d..29251221 100644 --- a/bin/domain/imag-timetrack/src/day.rs +++ b/bin/domain/imag-timetrack/src/day.rs @@ -88,13 +88,13 @@ pub fn day(rt: &Runtime) -> i32 { acc.and_then(|_| { debug!("Processing {:?}", e.get_location()); - let tag = try!(e.get_timetrack_tag()); + let tag = e.get_timetrack_tag()?; debug!(" -> tag = {:?}", tag); - let start = try!(e.get_start_datetime()); + let start = e.get_start_datetime()?; debug!(" -> start = {:?}", start); - let end = try!(e.get_end_datetime()); + let end = e.get_end_datetime()?; debug!(" -> end = {:?}", end); match (start, end) { diff --git a/bin/domain/imag-timetrack/src/list.rs b/bin/domain/imag-timetrack/src/list.rs index 25c0ce0c..109a7ae6 100644 --- a/bin/domain/imag-timetrack/src/list.rs +++ b/bin/domain/imag-timetrack/src/list.rs @@ -91,13 +91,13 @@ pub fn list(rt: &Runtime) -> i32 { acc.and_then(|_| { debug!("Processing {:?}", e.get_location()); - let tag = try!(e.get_timetrack_tag()); + let tag = e.get_timetrack_tag()?; debug!(" -> tag = {:?}", tag); - let start = try!(e.get_start_datetime()); + let start = e.get_start_datetime()?; debug!(" -> start = {:?}", start); - let end = try!(e.get_end_datetime()); + let end = e.get_end_datetime()?; debug!(" -> end = {:?}", end); match (start, end) { diff --git a/bin/domain/imag-timetrack/src/month.rs b/bin/domain/imag-timetrack/src/month.rs index 80ddd8f2..144b1091 100644 --- a/bin/domain/imag-timetrack/src/month.rs +++ b/bin/domain/imag-timetrack/src/month.rs @@ -103,13 +103,13 @@ pub fn month(rt: &Runtime) -> i32 { acc.and_then(|_| { debug!("Processing {:?}", e.get_location()); - let tag = try!(e.get_timetrack_tag()); + let tag = e.get_timetrack_tag()?; debug!(" -> tag = {:?}", tag); - let start = try!(e.get_start_datetime()); + let start = e.get_start_datetime()?; debug!(" -> start = {:?}", start); - let end = try!(e.get_end_datetime()); + let end = e.get_end_datetime()?; debug!(" -> end = {:?}", end); match (start, end) { diff --git a/bin/domain/imag-timetrack/src/week.rs b/bin/domain/imag-timetrack/src/week.rs index 39acdf13..1043989b 100644 --- a/bin/domain/imag-timetrack/src/week.rs +++ b/bin/domain/imag-timetrack/src/week.rs @@ -95,13 +95,13 @@ pub fn week(rt: &Runtime) -> i32 { acc.and_then(|_| { debug!("Processing {:?}", e.get_location()); - let tag = try!(e.get_timetrack_tag()); + let tag = e.get_timetrack_tag()?; debug!(" -> tag = {:?}", tag); - let start = try!(e.get_start_datetime()); + let start = e.get_start_datetime()?; debug!(" -> start = {:?}", start); - let end = try!(e.get_end_datetime()); + let end = e.get_end_datetime()?; debug!(" -> end = {:?}", end); match (start, end) { diff --git a/bin/domain/imag-timetrack/src/year.rs b/bin/domain/imag-timetrack/src/year.rs index 11b01974..a5ce27fe 100644 --- a/bin/domain/imag-timetrack/src/year.rs +++ b/bin/domain/imag-timetrack/src/year.rs @@ -94,13 +94,13 @@ pub fn year(rt: &Runtime) -> i32 { acc.and_then(|_| { debug!("Processing {:?}", e.get_location()); - let tag = try!(e.get_timetrack_tag()); + let tag = e.get_timetrack_tag()?; debug!(" -> tag = {:?}", tag); - let start = try!(e.get_start_datetime()); + let start = e.get_start_datetime()?; debug!(" -> start = {:?}", start); - let end = try!(e.get_end_datetime()); + let end = e.get_end_datetime()?; debug!(" -> end = {:?}", end); match (start, end) {