Skip to content
  • Paul Okstad's avatar
    targetRepo can be nil if the client didn't set it · ef17a4f5
    Paul Okstad authored and John Cai's avatar John Cai committed
    When the client didn't set the target repository, the cache middleware
    will panic right now. This change handles it, and lets the RPC handle
    it.
    
    The middleware could also handle the error, though that would intervene
    with the 'usual' way and might catch a developer off guard.
    ef17a4f5