{"record":{"id":"57e8daeffa8a3a91","repo":"hashicorp/vagrant","slug":"data-57e8da","errorCode":null,"errorMessage":"${data}","messagePattern":"\\$\\{data\\}","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/pushes/local-exec/push.rb","lineNumber":83,"sourceCode":"      def quote_and_escape(text, quote = '\"')\n        \"#{quote}#{text.gsub(/#{quote}/) { |m| \"#{m}\\\\#{m}#{m}\" }}#{quote}\"\n      end\n\n      # Run the command as exec (unix).\n      def execute_exec!(*cmd)\n        @@logger.debug(\"executing command via exec: #{cmd.inspect}\")\n        Vagrant::Util::SafeExec.exec(cmd[0], *cmd[1..-1])\n      end\n\n      # Run the command as a subprocess (windows).\n      def execute_subprocess!(*cmd)\n        @@logger.debug(\"executing command via subprocess: #{cmd.inspect}\")\n        cmd = cmd.dup << { notify: [:stdout, :stderr] }\n        result = Vagrant::Util::Subprocess.execute(*cmd) do |type, data|\n          if type == :stdout\n            @env.ui.info(data, new_line: false)\n          elsif type == :stderr\n            @env.ui.warn(data, new_line: false)\n          end\n        end\n\n        Kernel.exit(result.exit_code)\n      end\n    end\n  end\nend\n","sourceCodeStart":65,"sourceCodeEnd":92,"githubUrl":"https://github.com/hashicorp/vagrant/blob/35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5/plugins/pushes/local-exec/push.rb#L65-L92","documentation":"Error \"${data}\" thrown in hashicorp/vagrant.","triggerScenarios":"Thrown at plugins/pushes/local-exec/push.rb:83 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35f3160f4ad6edc3a9f3aa9570adfc1a4d73aaa5","analyzedAt":"2026-08-21T13:34:32.514Z","schemaVersion":2},"datasetVersion":"2026-08-21T18:17:14.833Z"}