Changes in / [86442cb:fc63b30]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/gnuboat/daemon/rrdhandler.py

    r86442cb rfc63b30  
    1919import rrdtool
    2020import os
     21import traceback
    2122
    2223def rrd_create_database(database_file, logperiod, start_time = 'N'):
    … …  
    5253
    5354def rrd_update(rrdfile, value_string):
    54     rrdtool.update(rrdfile, value_string)
     55    try:
     56        rrdtool.update(rrdfile, value_string)
     57    except:
     58        print "Failed to update rrd database %s with values\n  %s" % (rrdfile, value_string)
     59        print(traceback.format_exc())
    5560
    5661def _rows(duration, resolution, step):
Note: See TracChangeset for help on using the changeset viewer.