Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-137

catch UserException in tools

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.9.7
    • Affects Version/s: 0.9.6
    • Component/s: Admin
    • None
    • Environment:
      OS X, 64-bit

      ./mongofiles put foo

      connected to: 127.0.0.1
      Thu Jul 9 02:56:23 User Exception file doesn't exist
      terminate called after throwing an instance of 'mongo::UserException'
      what(): file doesn't exist

      backtrace:

      0x00007fff81500f16 in __kill ()
      (gdb) bt
      #0 0x00007fff81500f16 in __kill ()
      #1 0x00007fff81571f6d in abort ()
      #2 0x00007fff8241a085 in _gnu_cxx::_verbose_terminate_handler ()
      #3 0x00007fff82418425 in __gxx_personality_v0 ()
      #4 0x00007fff8241845b in std::terminate ()
      #5 0x00007fff8241854c in __cxa_throw ()
      #6 0x000000010003d9c9 in mongo::uasserted ()
      #7 0x0000000100129586 in mongo::GridFS::storeFile ()
      #8 0x0000000100135ed2 in Files::run ()
      #9 0x000000010012f29a in mongo::Tool::main ()
      #10 0x0000000100134c7d in main ()

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            ask Ask Bjørn Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: